import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import  router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import pinia  from "./store";
import * as echarts from 'echarts'
import 'echarts-wordcloud';
// import vColorPicker from 'vcolorpicker'
import Vue3ColorPicker from "vue3-colorpicker";
import "vue3-colorpicker/style.css";
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}

app.config.globalProperties.$echarts = echarts
app.use(Vue3ColorPicker)
// app.use(vColorPicker)
app.use(router)
app.use(echarts)
app.use(pinia)
app.use(ElementPlus)
app.mount('#app')
